<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  		<title><fmt:message key="bOrderList.heading"/></title>
  		    <script type="text/javascript">
			$(function() {
				applyDate("datepicker1");
				applyDate("datepicker");
		
			});

	</script>
  </head>
  <body>	
	<form id="tableForm" name="tableForm" action="report.do?cmd=applyRefundReport" method="Post">
	 <ul>
          <li class="titleonly">
          <img src="${ctxPath}/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;已经申请的退款列表搜索
        </li>
        </ul>
   <ul>
   <table width="700" border="0" cellspacing="0" cellpadding="0" class="dd">
  <tr>
    <td>申请退票起始时间：</td>
    <td> <input name="Q_updateTime_D_GE" type="text" class="inputbox120" id="datepicker1" value="${param['Q_updateTime_D_GE']}" /></td>
    <td>申请退票截止时间：</td>
    <td><input name="Q_updateTime_D_LE" type="text" class="inputbox120" id="datepicker" value="${param['Q_updateTime_D_LE']}" /></td>
  </tr>
  <tr>
   <td>订单号：</td>
    <td><input name="Q_orderNo_S_LK" type="text" class="inputbox120" id="datepicker" value="${param['Q_orderNo_S_LK']}" /></td>
	<td>支付方式：</td>
    <td><select id="payChannel" name="Q_payChannel_S_EQ" class="inputbox130">
	  <option value="">全部</option>
	  <option value="2">快钱</option>
	  <option value="3">支付宝</option>
	  <option value="4">财付通</option>
	  <option value="5">汇付天下</option>
	  <option value="6">中国银联</option>
      <option value="7">联动优势</option>
	 </select>
	 <script type="text/javascript">
	 document.getElementById("payChannel").value="${param['Q_payChannel_S_EQ']}";
	 </script>
	 </td>
	</tr>
  </tr>
  <tr>
    <td colspan="6" style="text-align:center"><input name="Submit" type="submit" class="inputsubmit" value="查询" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      <input name="Submit2" type="submit" class="inputsubmit" value="导出" /></td>
    </tr>
</table>
 </ul>
 </form>
 
<ul>
<li class="titleonly"><img src="${ctxPath}/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;已经申请的退款列表</li>
</ul>
	
<c:set var="checkAll">
	  			<input type="checkbox" name="ckAll" onClick="checkAll(this,'id');"/>
	  		</c:set>
    		<div id="div-data">
		    	<display:table name="bOrders" sort="external" pagesize="${bOrders.objectsPerPage}"
			    	cellpadding="0" cellspacing="0" style="width:100%" export="true" 
			    	id="bOrderItem" partialList="true" size="${bOrders.fullListSize}" requestURI="report.do?cmd=applyRefundReport">
			    	<display:column title="${checkAll}" media="html" style="width:8px;align:center">
				  		<input type="checkbox" name="id" value="${bOrderItem.id}">
				  	</display:column>
				<display:column property="id" titleKey="序号" sortName="id" sortable="true" class="tableinfo center" />  
				<display:column property="orderNo" titleKey="bOrder.orderNo" sortName="orderNo" sortable="true" class="tableinfo center" />  
				<display:column property="allPrice" titleKey="机票实收款" sortName="allPrice" sortable="true" class="tableinfo center" />
				<display:column  titleKey="机票退款金额"  class="tableinfo center">
				${bOrderItem.refundFee }&nbsp;
				</display:column> 
				<display:column titleKey="支付方式"  class="tableinfo center">
				&nbsp;
				<c:if test="${bOrderItem.payChannel=='2'}">快钱</c:if>
				<c:if test="${bOrderItem.payChannel=='3'}">支付宝</c:if>
				<c:if test="${bOrderItem.payChannel=='4'}">财付通</c:if>
				<c:if test="${bOrderItem.payChannel=='5'}">汇付天下</c:if>
				<c:if test="${bOrderItem.payChannel=='6'}">中国银联</c:if>
				<c:if test="${bOrderItem.payChannel=='7'}">联动优势</c:if>
				</display:column>
				</display:table>	
			</div>
			<script type="text/javascript">
				highlightTableRows('bOrderItem');
			</script>
	  		
	</body>
</html>